﻿using AutoMapper;
using B.S.DataBase.Domain;
using B.S.DataBase.Read.API.Application.Commands.GetProduct;
using B.S.DataBase.Read.API.Application.Commands.GetSelectProduct;
using B.S.DataBase.Read.API.Dtos;

namespace B.S.DataBase.Read.API
{
    public class MapperProfile : Profile
    {
        public MapperProfile()
        {
            CreateMap<GetSelectProductType, ProductType>().ReverseMap();
            CreateMap<GetProductCommand, ProductDto>().ReverseMap();
        }
    }
}
